package com.pace.day02.aotowiring;import org.springframework.context.annotation.ComponentScan;import org.springframework.context.annotation.Configuration;/** * @Auther: Administrator * @Date: 2019/3/25 0025 22:22 * @Description: 自动装配bean，basePackages 具体的包以及子包 */@Configuration@ComponentScan(basePackages = {"com.pace.day02.aotowiring.person", "com.pace.day01.di"})public class PersonConfig {}